package 代码填空;

import java.lang.reflect.Method;

interface A {
    void method();
}

public class demo01 {
    public static void main(String[] args) {
        fun().method();
    }

    private static A fun() {
        return new A() {
            @Override
            public void method() {
                System.out.println("helloworld");
            }
        };
    }
}
